package com.ky.serialport.sensor;

/**
 * 蓝牙光照数据
 */
public class UldDataBean {
    public Long time = 0L;
    public String name = "";
    public byte[] data = null;


    public UldDataBean() {

    }

    /**
     * 计算温度
     * @param buffer
     * @return
     */
    public UldDataBean setData(byte[] buffer) {
        this.data = buffer;
        return this;
    }

    public UldDataBean setName(String name) {
        this.name = name;
        return this;
    }
}
